package com.haibara.aioj.judge.model;

import com.haibara.aioj.model.dto.question.JudgeConfig;
import com.haibara.aioj.model.dto.questionsubmit.JudgeInfo;
import lombok.Builder;
import lombok.Data;

import java.util.List;
@Data
@Builder
public class ExecuteCodeRespond {
    //输出
    private List<String> outputList;

    //判题信息
    private JudgeInfo judgeInfo;

    /**
     * 执行信息
     * 1. 执行成功 2.错误
     */
    private String message;

    /**
     * 执行状态
     */
    private Integer status;

    public static final int SUCCESS = 1;
    public static final int ERROR = 2;

}
